const mongoose = require('mongoose')
const Schema = mongoose.Schema

let DictSchema = new Schema({
  regionCode: String,
  regionName: String,
  data: [
    {
      itemCode: String,
      itemName: String,
      orderNo: Number
    }
  ]
})

// Export the model
module.exports = mongoose.model('Dict', DictSchema)